﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Paperless_Library;

namespace Paperless_Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IServiceContract
    {
        [OperationContract]
        Documento[] ObtenerDocumentos(string usuarioEmisor, string usuarioReceptor, string departamento, string tipoDocumento, DateTime fechaEmision, DateTime fechaRecepción);

        [OperationContract]
        Historial[] ObtenerHistorialDocumento(int idDocumento);

        [OperationContract]
        Usuario[] ObtenerUsuario(String nombreUsuario);

        [OperationContract]
        Historial[] ObtenerHistorialUsuario(string nombreUsuario);

        [OperationContract]
        Evento[] ObtenerEventos();

        [OperationContract]
        Documento[] ObtenerDocumentosPorMigrar();

        [OperationContract]
        Documento[] ObtenerDocumentosUsuario(string nombreUsuario);
    }
}
